import { createRouter, createWebHistory } from 'vue-router'
import Dashboard from '../views/Dashboard.vue'
import Warehouses from '../views/Warehouses.vue'
import Inventory from '../views/Inventory.vue'
import Orders from '../views/Orders.vue'
import Shipments from '../views/Shipments.vue'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    { path: '/', component: Dashboard },
    { path: '/warehouses', component: Warehouses },
    { path: '/inventory', component: Inventory },
    { path: '/orders', component: Orders },
    { path: '/shipments', component: Shipments }
  ]
})

export default router


